package com.demo;

import org.springframework.ai.chat.model.ChatResponse;
import reactor.core.publisher.Flux;

public interface IAiServer {
    //非流式
    ChatResponse generate(String model, String message);
    //流式
    Flux<ChatResponse> generateStream(String model, String message);
}
